﻿Public Class CustomerPreviewModel
    Public Property CustomerID As String
    Public Property DisplayedName As String
    Public Property Address As String

    Public Overrides Function Equals(obj As Object) As Boolean
        If TypeOf obj Is CustomerPreviewModel Then
            Dim item As CustomerPreviewModel = obj
            If item.CustomerID = CustomerID Then
                Return True
            Else
                Return False
            End If
        End If
        Return False
    End Function
End Class
